home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
bbsutil
/
gapdemo1.zip
/
ARCVIEW.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-04-26
|
549b
|
27 lines
@echo off
REM Called by GAP to list the contents of an archive
REM Output should be redirected to ARCVIEW.TXT
REM pkunzip /v zipfile.zip >ARCVIEW.TXT
REM %1 = Full Path/Name of the Archive File to process
REM %2 = What kind of Archive it is: ARC,ZIP,ICE,LZH,PAK,etc
if %2 == ZIP goto dozip
if %2 == EXE goto dozip
if %2 == ARC goto doarc
if %2 == LZH goto dolzh
goto end
:dozip
pkunzip /v %1 >ARCVIEW.TXT
goto end
:doarc
pkunpak /v %1 >ARCVIEW.TXT
goto end
:dolzh
lha %1 >ARCVIEW.TXT
:end